import AddRoleRequest from "../entity/base/request/AddRoleRequest" 
import MenuPageResponse from "../entity/base/response/MenuPageResponse" 
import SysEnumResponse from "../entity/common/response/SysEnumResponse" 
import UpdOrganizationRequest from "../entity/base/request/UpdOrganizationRequest" 
import SysEnumRequest from "../entity/common/request/SysEnumRequest" 
import PageParamRequest from "../entity/common/mybatisplus/PageParamRequest" 
import UserResponse from "../entity/base/response/UserResponse" 
import SysAuditInfoResponse from "../entity/common/response/SysAuditInfoResponse" 
import OrganizationSimpListVO from "../entity/base/vo/OrganizationSimpListVO" 
import JWTTokenCacheVO from "../entity/common/vo/JWTTokenCacheVO" 
import OrganizationVO from "../entity/base/vo/OrganizationVO" 
import AccPwdChangeRequest from "../entity/base/request/AccPwdChangeRequest" 
import AuthOperRequest from "../entity/base/request/AuthOperRequest" 
import AccountStatusRequest from "../entity/base/request/AccountStatusRequest" 
import RoleVO from "../entity/base/vo/RoleVO" 
import SysAuditInfoStatusRequest from "../entity/common/request/SysAuditInfoStatusRequest" 
import SimpleObjVO from "../entity/base/vo/SimpleObjVO" 
import OrganizationSimpVO from "../entity/base/vo/OrganizationSimpVO" 
import UpdRoleRequest from "../entity/base/request/UpdRoleRequest" 
import SysLoginRequest from "../entity/base/request/SysLoginRequest" 
import AddUserAndRelRequest from "../entity/base/request/AddUserAndRelRequest" 
import ToExamineAuditNumResponse from "../entity/common/response/ToExamineAuditNumResponse" 
import JWTTokenRefreshRequest from "../entity/common/request/JWTTokenRefreshRequest" 
import JWTAccountVO from "../entity/common/vo/JWTAccountVO" 
import UserStatusRequest from "../entity/base/request/UserStatusRequest" 
import UserVO from "../entity/base/vo/UserVO" 
import AddOrganizationRequest from "../entity/base/request/AddOrganizationRequest" 
import MenuPageBtnVO from "../entity/base/vo/MenuPageBtnVO" 
import OrgaResponse from "../entity/common/response/OrgaResponse" 
import UpdUserAndRelRequest from "../entity/base/request/UpdUserAndRelRequest" 
import UserAccRoleResponse from "../entity/base/response/UserAccRoleResponse" 

import RequestUtil from "./RequestUtil"


export const BaseAPI={
//=================================[系统审核信息管理]=================================

/**系统审核信息分页查询 */
selectAll:(dataParam:PageParamRequest)=>{
    return RequestUtil.executeRequestForPage<SysAuditInfoResponse>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/sysauditinfo/list",
        parameterType:"pageParamRequest:PageParamRequest",    //
        resultObjectType:"ResultObjectC<IPage<SysAuditInfoResponse>>",
        innerClass:SysAuditInfoResponse,
        requestBody:false
    },dataParam)

},

/**所有模块待审核数据条数 */
selectToExamineNum:()=>{
    return RequestUtil.executeRequestForResultObjectC<ToExamineAuditNumResponse>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/sysauditinfo/toexamine-num",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<ToExamineAuditNumResponse>",
        innerClass:ToExamineAuditNumResponse,
        requestBody:false
    })

},

/**当前服务待审核数据条数（大多数时候用于RPC调用） */
selectToExamineNumLocal:()=>{
    return RequestUtil.executeRequestForResultObjectC<string>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/sysauditinfo/toexamine-num-rpc",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<Long>",
        innerClass:undefined,
        requestBody:false
    })

},

/**查询系统审核信息详情 */
querySysAuditInfoId:(pathParameter:object)=>{
    return RequestUtil.executeRequestForResultObjectC<SysAuditInfoResponse>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/sysauditinfo/{rid}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<SysAuditInfoResponse>",
        innerClass:SysAuditInfoResponse,
        requestBody:false
    },pathParameter)

},

/**更改审核状态 */
updateSysAduitInfoStatus:(dataParam:SysAuditInfoStatusRequest[])=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"PUT",
        path:"/sysauditinfo",
        parameterType:"List<SysAuditInfoStatusRequest>:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:true
    },dataParam)

},

//=================================[系统登录相关login]=================================

/**登出接口(请求头携带token即可) */
logOut:()=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"PUT",
        path:"/logOut",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:false
    })

},

/**刷新token */
refreshToken:(dataParam:JWTTokenRefreshRequest)=>{
    return RequestUtil.executeRequestForResultObjectC<JWTTokenCacheVO>(
    {
        gatewayRoutePath:"base",
        methodType:"PUT",
        path:"/refresh-token",
        parameterType:"JWTTokenRefreshRequest:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<JWTTokenCacheVO>",
        innerClass:JWTTokenCacheVO,
        requestBody:true
    },dataParam)

},

/**登录接口 */
login:(dataParam:SysLoginRequest)=>{
    return RequestUtil.executeRequestForResultObjectC<JWTAccountVO>(
    {
        gatewayRoutePath:"base",
        methodType:"POST",
        path:"/sysLogin",
        parameterType:"loginVO:SysLoginRequest",    //
        resultObjectType:"ResultObjectC<JWTAccountVO>",
        innerClass:JWTAccountVO,
        requestBody:false
    },dataParam)

},

//=================================[系统菜单]=================================

/**获取系统所有的菜单页面按钮数据 */
getSysMenuPageBtn:(dataParam:object)=>{
    return RequestUtil.executeRequestForList<MenuPageBtnVO>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/sysmenu",
        parameterType:"{sysModuleId:String} ",  //sysModuleId:
        resultObjectType:"ResultObjectC<List<MenuPageBtnVO>>",
        innerClass:MenuPageBtnVO,
        requestBody:false
    },dataParam)

},

/**获取当前账号拥有的系统菜单页面按钮权限数据集合 */
getSysMenuPageBtnByCurAccId:(dataParam:object)=>{
    return RequestUtil.executeRequestForList<MenuPageBtnVO>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/sysmenu/curacc",
        parameterType:"{sysModuleId:String} ",  //sysModuleId:
        resultObjectType:"ResultObjectC<List<MenuPageBtnVO>>",
        innerClass:MenuPageBtnVO,
        requestBody:false
    },dataParam)

},

/**(按钮层简化模式)获取当前账号拥有的系统菜单页面按钮权限数据集合 */
getSysMenuPageBtnSpByCurAccId:(dataParam:object)=>{
    return RequestUtil.executeRequestForList<MenuPageResponse>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/sysmenu-sp/curacc",
        parameterType:"{sysModuleId:String} ",  //sysModuleId:
        resultObjectType:"ResultObjectC<List<MenuPageResponse>>",
        innerClass:MenuPageResponse,
        requestBody:false
    },dataParam)

},

//=================================[组织架构]=================================

/**多服务同步调用,删除组织缓存的情况 */
syncOrgaCacheData:(pathParameter:object)=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/orga/cache_data/{orgId}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:false
    },pathParameter)

},

/**查询单组织详情信息 */
getOrgaDetail:(pathParameter:object)=>{
    return RequestUtil.executeRequestForResultObjectC<OrganizationVO>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/orga/{orgId}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<OrganizationVO>",
        innerClass:OrganizationVO,
        requestBody:false
    },pathParameter)

},

/**获取组织成员 */
getOrgaMembers:(dataParam:PageParamRequest,pathParameter:object)=>{
    return RequestUtil.executeRequestForPage<UserVO>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/orga/members/{orgId}",
        parameterType:"pageParamRequest:PageParamRequest",    //page分页接受参数
        resultObjectType:"ResultObjectC<IPage<UserVO>>",
        innerClass:UserVO,
        requestBody:false
    },dataParam,pathParameter)

},

/**批量新增组织 */
batchInsertOrg:(dataParam:AddOrganizationRequest[])=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"POST",
        path:"/organizations",
        parameterType:"ValidatedList<AddOrganizationRequest>:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:true
    },dataParam)

},

/**删除组织 */
delOrganization:(pathParameter:object)=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"DELETE",
        path:"/organizations/{orgId}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:false
    },pathParameter)

},

/**批量编辑组织 */
batchUpdateOrg:(dataParam:UpdOrganizationRequest[])=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"PUT",
        path:"/organizations",
        parameterType:"ValidatedList<UpdOrganizationRequest>:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:true
    },dataParam)

},

/**通过节点id获取组织树 */
getOrgaTree:(pathParameter:object)=>{
    return RequestUtil.executeRequestForResultObjectC<OrganizationSimpVO>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/orgatree/{orgId}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<OrganizationSimpVO>",
        innerClass:OrganizationSimpVO,
        requestBody:false
    },pathParameter)

},

/**获取指定组织节点下的所有组织对象集合【列表】 */
getOrgaList:(pathParameter:object)=>{
    return RequestUtil.executeRequestForList<OrgaResponse>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/orgalist/{orgId}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<List<OrgaResponse>>",
        innerClass:OrgaResponse,
        requestBody:false
    },pathParameter)

},

/**获取指定组织节点下的所有组织id集合【列表】 */
getOrgaIdListByOId:(pathParameter:object)=>{
    return RequestUtil.executeRequestForResultObjectC<string[]>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/orgaid-list/{orgId}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<List<String>>",
        innerClass:undefined,
        requestBody:false
    },pathParameter)

},

/**获取当前登录者能够查看的组织节点【列表】 */
curAccOrgaList:()=>{
    return RequestUtil.executeRequestForList<OrganizationSimpListVO>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/orgalist/cur_acc",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<List<OrganizationSimpListVO>>",
        innerClass:OrganizationSimpListVO,
        requestBody:false
    })

},

/**获取当前登录者能够查看的组织节点【树】 */
curAccOrgaTree:()=>{
    return RequestUtil.executeRequestForList<OrganizationSimpVO>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/orgatree/cur_acc",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<List<OrganizationSimpVO>>",
        innerClass:OrganizationSimpVO,
        requestBody:false
    })

},

//=================================[系统枚举元数据管理管理]=================================

/**查询系统枚举元数据管理详情 */
querySysEnumId:(pathParameter:object)=>{
    return RequestUtil.executeRequestForResultObjectC<SysEnumResponse>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/sysenum/{rid}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<SysEnumResponse>",
        innerClass:SysEnumResponse,
        requestBody:false
    },pathParameter)

},

/**逻辑删除系统枚举元数据管理 */
deleteSysEnumById:(dataParam:string[])=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"PUT",
        path:"/sysenum/logic",
        parameterType:"List<Long>:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:true
    },dataParam)

},

/**子服务被调用逻辑删除系统枚举元数据管理 */
deleteSysEnumByIdRPCSync:(dataParam:string[])=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"PUT",
        path:"/sysenum/logic/rpc-sync",
        parameterType:"List<Long>:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:true
    },dataParam)

},

/**系统枚举元数据管理分页查询 */
SysEnumControllerSelectAll:(dataParam:PageParamRequest)=>{
    return RequestUtil.executeRequestForPage<SysEnumResponse>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/sysenum/list",
        parameterType:"pageParamRequest:PageParamRequest",    //
        resultObjectType:"ResultObjectC<IPage<SysEnumResponse>>",
        innerClass:SysEnumResponse,
        requestBody:false
    },dataParam)

},

/**编辑系统枚举元数据管理 */
updateSysEnum:(dataParam:SysEnumRequest)=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"PUT",
        path:"/sysenum",
        parameterType:"SysEnumRequest:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:true
    },dataParam)

},

/**新增系统枚举元数据管理 */
insertSysEnum:(dataParam:SysEnumRequest)=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"POST",
        path:"/sysenum",
        parameterType:"SysEnumRequest:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:true
    },dataParam)

},

/**通过枚举类型获取枚举 */
querySysEnumByEnumType:(pathParameter:object)=>{
    return RequestUtil.executeRequestForList<SysEnumResponse>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/sysenum/by-type/{enumType}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<List<SysEnumResponse>>",
        innerClass:SysEnumResponse,
        requestBody:false
    },pathParameter)

},

/** */
noCheckAddition:(dataParam:SysEnumRequest)=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"POST",
        path:"/sysenum/no-check",
        parameterType:"SysEnumRequest:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:true
    },dataParam)

},

//=================================[用户信息管理]=================================

/**下载用户信息批量导入模板 */
downloadExcelTemplate:(fileName?:string)=>{
    return RequestUtil.downloadFile(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/downloadExcelTemplate",
        parameterType:"{} ",  
        resultObjectType:"void",
        innerClass:undefined,
        requestBody:false
    },fileName)

},

/**excel导入用户信息 */
importExcel:(dataParam:object)=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"POST",
        path:"/userinfoexcel",
        parameterType:"{importFile:MultipartFile} ",  //importFile:
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:false
    },dataParam)

},

/**工作流获取人员列表 */
querySubdUserListByAccId:(pathParameter:object)=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/workflow/userlist/{accId}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:false
    },pathParameter)

},

/**新增用户 */
addUserInfo:(dataParam:AddUserAndRelRequest)=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"POST",
        path:"/userinfo",
        parameterType:"AddUserAndRelRequest:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:true
    },dataParam)

},

/**用户分页列表 */
getUserInfoList:(dataParam:PageParamRequest)=>{
    return RequestUtil.executeRequestForPage<UserVO>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/userinfo",
        parameterType:"pageParamRequest:PageParamRequest",    //page分页接受参数
        resultObjectType:"ResultObjectC<IPage<UserVO>>",
        innerClass:UserVO,
        requestBody:false
    },dataParam)

},

/**编辑用户信息 */
updUserInfo:(dataParam:UpdUserAndRelRequest)=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"PUT",
        path:"/userinfo",
        parameterType:"UpdUserAndRelRequest:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:true
    },dataParam)

},

/**删除用户 */
deleteUser:(pathParameter:object)=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"DELETE",
        path:"/userinfo/{userId}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:false
    },pathParameter)

},

/**修改状态 */
updUserStatus:(dataParam:UserStatusRequest)=>{
    return RequestUtil.executeRequestForResultObjectC<string>(
    {
        gatewayRoutePath:"base",
        methodType:"PUT",
        path:"/userstatus",
        parameterType:"UserStatusRequest:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<String>",
        innerClass:undefined,
        requestBody:true
    },dataParam)

},

/**查询用户详情 */
getUserInfo:(pathParameter:object)=>{
    return RequestUtil.executeRequestForResultObjectC<UserAccRoleResponse>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/userinfo/{userId}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<UserAccRoleResponse>",
        innerClass:UserAccRoleResponse,
        requestBody:false
    },pathParameter)

},

//=================================[API相关测试]=================================

/**路由关系 */
route:()=>{
    return RequestUtil.executeRequestForResultObjectC<void>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/apixx/route",
        parameterType:"{} ",  
        resultObjectType:"void",
        innerClass:undefined,
        requestBody:false
    })

},

//=================================[test]=================================

/**初始化菜单页面按钮数据(重要工具方法不要删除！) */
initMenuPageBtnData:()=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/test/menu-page-btn/init",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:false
    })

},

/**初始化系统组织数据(重要工具方法不要删除！) */
initOrgaAndRoleData:()=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/test/orga-roles/init",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:false
    })

},

/**测试组织数据同步 */
testsk:(dataParam:any)=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"POST",
        path:"/test/get_post_data",
        parameterType:"Map<String>:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"Object",
        innerClass:undefined,
        requestBody:true
    },dataParam)

},

/**测试组织数据同步 */
TestControllerLogin:(dataParam:object)=>{
    return RequestUtil.executeRequestForResultObjectC<string>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/test/orgn-cache-sync",
        parameterType:"{orgId:Long} ",  //orgId:
        resultObjectType:"String",
        innerClass:undefined,
        requestBody:false
    },dataParam)

},

/**测试组织数据同步 */
getPath:()=>{
    return RequestUtil.executeRequestForResultObjectC<string>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/test/path-x",
        parameterType:"{} ",  
        resultObjectType:"String",
        innerClass:undefined,
        requestBody:false
    })

},

//=================================[账户角色权限相关]=================================

/**获取指定组织下的角色集合 */
getRolesByOrgId:(pathParameter:object)=>{
    return RequestUtil.executeRequestForList<SimpleObjVO>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/underorgroles/{orgId}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<List<SimpleObjVO>>",
        innerClass:SimpleObjVO,
        requestBody:false
    },pathParameter)

},

/**获取指定组织下的账号集合 */
getAccListByOrgId:(pathParameter:object)=>{
    return RequestUtil.executeRequestForList<SimpleObjVO>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/underorgacc/{orgId}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<List<SimpleObjVO>>",
        innerClass:SimpleObjVO,
        requestBody:false
    },pathParameter)

},

/**获取指定角色的权限id集合(菜单,页面,功能) */
getSysAuthListByRoleId:(pathParameter:object)=>{
    return RequestUtil.executeRequestForResultObjectC<string[]>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/rolemenuauth/{roleId}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<List<Long>>",
        innerClass:undefined,
        requestBody:false
    },pathParameter)

},

/**获取指定账号的权限id集合(菜单,页面,功能) */
getSysAuthListByAccId:(pathParameter:object)=>{
    return RequestUtil.executeRequestForResultObjectC<string[]>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/accmenuauth/{accId}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<List<Long>>",
        innerClass:undefined,
        requestBody:false
    },pathParameter)

},

/**更新指定角色的权限（增加减少） */
updSysAuthListWithRole:(dataParam:AuthOperRequest[],pathParameter:object)=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"PUT",
        path:"/rolemenuauth/{roleId}",
        parameterType:"ValidatedList<AuthOperRequest>:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:true
    },dataParam,pathParameter)

},

/**更新指定账号的权限（增加减少） */
updSysAuthListWithAcc:(dataParam:AuthOperRequest[],pathParameter:object)=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"PUT",
        path:"/accmenuauth/{accId}",
        parameterType:"ValidatedList<AuthOperRequest>:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:true
    },dataParam,pathParameter)

},

/**查询拥有指定权限id的用户集合 */
queryUserListByAuthId:(dataParam:object)=>{
    return RequestUtil.executeRequestForList<UserResponse>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/auth/userlist",
        parameterType:"{resourceIdArrStr:String,orgId:Long,containParentLv:Integer} ",  //resourceIdArrStr:参数资源id集合,多个用逗号分隔,orgId:,containParentLv:
        resultObjectType:"ResultObjectC<List<UserResponse>>",
        innerClass:UserResponse,
        requestBody:false
    },dataParam)

},

//=================================[账户管理相关]=================================

/**启用/禁用 帐号信息 */
accStatusUpdate:(dataParam:AccountStatusRequest)=>{
    return RequestUtil.executeRequestForResultObjectC<string>(
    {
        gatewayRoutePath:"base",
        methodType:"PUT",
        path:"/accinfostatus",
        parameterType:"AccountStatusRequest:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<String>",
        innerClass:undefined,
        requestBody:true
    },dataParam)

},

/**修改指定账号密码 */
updPwd:(dataParam:AccPwdChangeRequest)=>{
    return RequestUtil.executeRequestForResultObjectC<string>(
    {
        gatewayRoutePath:"base",
        methodType:"PUT",
        path:"/password",
        parameterType:"AccPwdChangeRequest:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<String>",
        innerClass:undefined,
        requestBody:true
    },dataParam)

},

/**重置账号密码为系统默认值 */
setPwdDefault:(pathParameter:object)=>{
    return RequestUtil.executeRequestForResultObjectC<string>(
    {
        gatewayRoutePath:"base",
        methodType:"PUT",
        path:"/default-password/{accId}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<String>",
        innerClass:undefined,
        requestBody:false
    },pathParameter)

},

//=================================[角色管理t_tole]=================================

/**新增角色 */
addRole:(dataParam:AddRoleRequest)=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"POST",
        path:"/role",
        parameterType:"AddRoleRequest:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:true
    },dataParam)

},

/**删除角色 */
deleteRole:(pathParameter:object)=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"DELETE",
        path:"/role/{roleId}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:false
    },pathParameter)

},

/**更新角色 */
updateRole:(dataParam:UpdRoleRequest)=>{
    return RequestUtil.executeRequestForResultObjectC<any>(
    {
        gatewayRoutePath:"base",
        methodType:"PUT",
        path:"/role",
        parameterType:"UpdRoleRequest:RequestBody",    //请使用此类型的实例（JSON）对象来传递参数
        resultObjectType:"ResultObjectC<?>",
        innerClass:undefined,
        requestBody:true
    },dataParam)

},

/**获取分页角色列表 */
selectRolePageList:(dataParam:PageParamRequest)=>{
    return RequestUtil.executeRequestForPage<RoleVO>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/role",
        parameterType:"pageParamRequest:PageParamRequest",    //page分页接受参数
        resultObjectType:"ResultObjectC<IPage<RoleVO>>",
        innerClass:RoleVO,
        requestBody:false
    },dataParam)

},

/**通过组织id获取角色列表（不包含子级） */
selectRoleByOrgId:(pathParameter:object)=>{
    return RequestUtil.executeRequestForList<RoleVO>(
    {
        gatewayRoutePath:"base",
        methodType:"GET",
        path:"/orga-role/{orgId}",
        parameterType:"{} ",  
        resultObjectType:"ResultObjectC<List<RoleVO>>",
        innerClass:RoleVO,
        requestBody:false
    },pathParameter)

},

}